package com.ssm.mapper;

import java.util.List;

import com.ssm.pojo.address.Address;
import com.ssm.pojo.address.AddressRequestParameter;

public interface AddressMapper {
	public List<Address> list(int userId);
	public int delete(AddressRequestParameter data);
	public int add(Address address);
	public Address get(int id);
	public int update(Address address);
	public int defaultAddr(AddressRequestParameter data);
	public void clearDefaultAddr(int userId);
}
